package com.jsu.springboot_crop.dao;

import com.jsu.springboot_crop.entity.Shoppingcart;
import com.jsu.springboot_crop.model.ShoppingModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author Humura
 * @Date 2023/8/26 8:55
 * @Version 1.0
 */
@Mapper
public interface ShoppingcartDao {
    int insertSelective(Shoppingcart shoppingcart);
    int deleteByPrimaryKey(Integer shoppingId);
    List<ShoppingModel> selectByShopping(Shoppingcart shoppingcart);
    int updateByPrimaryKeySelective(Shoppingcart shopingcart);

}
